#ifndef APP_SAVE_ABSTRACT_H
#define APP_SAVE_ABSTRACT_H

class Intent;

class SaveAbstract
{
private:
    /* data */
public:
    SaveAbstract(/* args */){}
    ~SaveAbstract(){}
    /* 将Intent保存在filename中 */
    virtual bool saveIntent(const char* filename, const Intent& intent) = 0;
    /* filename文件内容转Intent */
    virtual bool loadIntent(const char* filename, Intent& intent) = 0;
};

#endif 
